package com.ruoyi.project.distribute.service;

import com.ruoyi.project.distribute.domain.HosDocumentmsg;
import com.ruoyi.project.distribute.mapper.HosDocumentmsgMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 */
public interface IHosDocumentmsgService
{
    /**
     * 查询单据信息详细信息
     *
     * @return
     */
    List<HosDocumentmsg> selectHosDocumentmsgList(String documentlogId);

    /**
     * 单据信息表添加药品信息
     *
     * @param documenmsgtId
     * @param drugId
     * @return
     */
    int insertDocumentMsgByDocumentMsgIdAndDrugId(String documenmsgtId,Long drugId);

    /**
     * 删除单据 ID 信息表中 药品信息
     *
     * @param documentlogId
     * @param drugId
     * @return
     */
    int deleteHosDocumentMsgByDocumentMsgIdAndDrugId(String documentlogId,Long drugId);
}
